/*
 * Rectangle.h
 *
 *  Created on: 2010-9-12
 *      Author: try
 */

#ifndef RECTANGLE_H_
#define RECTANGLE_H_

#include "Shape.h"

namespace S {

  class Rectangle: public S::Shape {
    public:
      Rectangle(real x, real y, real w, real h);
      virtual ~Rectangle();

      /**
       * 构建路径
       */
      void createPath();

      /**
       * 绘制此元素
       */
      void draw(Gdiplus::Graphics* g);

  };

}

#endif /* RECTANGLE_H_ */
